Conversation
…ent pattern - StreamableHttpMCPServer: use node: prefixes, parseMcpUrl/endpoint instead of separate host/port, rename sessions→httpSessions to avoid BaseMCPServer conflict, remove SESSION_ID_HEADER_NAME constant, accept url option - PromptXMCPServer: pass url string instead of port+host+corsEnabled - mcp-workspace/http-server: align startup logs (3-line format) and add summarizeArgs to tool call logging - mcp-workspace: add stdio-server.ts reusing existing tools/service layer - mcp-workspace/bin: support --transport stdio|http flag and WORKSPACE_MCP_TRANSPORT env var Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- WorkspaceService (Electron main): fs-based folder management, dir listing, file read/write/delete, persisted to userData/workspace-folders.json - IPC: 10 workspace:* handlers via ipcMain.handle, exposed via contextBridge - useWorkspace hook: manages folders, expanded paths, dir cache via Electron IPC - WorkspacePanel: resizable right sidebar shell (360–600px, drag handle) - WorkspacePanelHeader: tab bar with badge support - FileTree: recursive tree with file-type icons, drag-to-input, delete on hover - WorkspaceExplorerPanel: folder list, file tree, text/image preview - WorkspaceExplorerAdapter: bridges useWorkspace hook to pure UI panel - Studio.tsx: FolderOpen toggle button + WorkspacePanel integrated on right side Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add mcp-config.service.ts managing ~/.promptx/mcp-servers.json with two built-in (non-removable) servers: - promptx: HTTP http://127.0.0.1:5276/mcp (reads port from ~/.promptx/config.json) - mcp-office: stdio node .../mcp-office/dist/index.js (auto-detected) New tools exposed via workspace MCP: - list_mcp_servers: returns built-in + user-defined servers - add_mcp_server: adds custom stdio or http/sse server - remove_mcp_server: removes user-defined server (builtin protected) - update_mcp_server: updates user-defined server fields Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add mcp-workspace (http://127.0.0.1:18062/mcp) as a third built-in server in both getMcpServers() (settings UI display) and the AgentX runtime config builder, alongside promptx and mcp-office. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- WorkspaceService: save to ~/.promptx/workspaces.json to align with mcp-workspace reader; add added_at field; auto-create directory - AgentXService: set agentxjs log level to warn Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace HTTP transport with stdio for mcp-workspace, matching the mcp-office pattern. Add getMcpWorkspacePath() to resolve the binary with dev/prod/node_modules fallbacks. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Remove mcp-config.service.ts and related MCP server management tools - Move ok/err response helpers to utils/index.ts - Clean up service/index.ts and public index.ts exports Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Listen to ws-file-drag-* custom events in Chat; show drop overlay on drag start; pass dropped path to InputPane via droppedWorkspacePaths prop which calls addFilesFromPaths to attach the file. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
When loadFolders() completes, automatically expand all root folders and fetch their directory contents so the file tree is visible by default without manual clicking. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Change workspacePanelOpen initial state from false to true so the workspace sidebar is visible on startup. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add system:checkGit IPC handler to detect Git on Windows. Display a dismissible banner on WelcomePage when Git is not installed, with a link to download Git for Windows. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Try common Git installation paths (Program Files, Program Files x86) if git command is not in PATH, to avoid false negatives when Git is installed but not added to system PATH. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Remove auto-expand and content loading from workspace folders on load - Only show Git warning on Windows platform (check platform in JSX) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
…M call failures - Split monolithic action tool (32 ops, 18 params) into: - action: role activation/creation (activate, born, identity) - lifecycle: goal & task management (want, plan, todo, finish, achieve, abandon, focus) - learning: cognitive cycle (reflect, realize, master, forget, synthesize, skill) - organization: org, position & personnel management (16 ops) - Add V1 role guard to new tools with friendly error messages - Fix census.list parser misclassifying members as positions (removed flawed isRole heuristic) - Handle '─── unaffiliated ───' section in census output - Fix organization tree not showing in roles page when roles aren't in resource scan - Update recall/remember V2 error messages to reference correct tool names - Update dayu role knowledge docs to reflect new tool structure - Add Git check debug logging for Windows Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Deduplicate items in ResourcesPage loadResources - V2 roles overwrite V1 entries in DiscoverCommand - Git warning banner now checks installation status - Remove debug logs from RolexBridge and checkGit - Add DeepSeek preset to AgentX profiles config Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add Feishu backend service (FeishuBot, FeishuBridge, FeishuSessionManager, FeishuManager) using @larksuiteoapi/node-sdk - Add Feishu config UI with start/stop toggle and status indicator - Add IPC handlers for feishu config, start, stop, status, remove - Bridge Feishu messages to AgentX with text and image support - Auto-restore Feishu connection on app startup - Add WeChat config component (hidden, for future use) - Add i18n keys for Feishu and WeChat in zh-CN and en Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This reverts commit 0b0e664.
- mcp-workspace: change external to noExternal so @promptx/logger and
@modelcontextprotocol/sdk are bundled into dist (matching mcp-office behavior)
- runtime: replace absolute timeout(ms) with idle timeout({ each: ms }) and
emit next() on each stream event to reset the timer, preventing false
timeouts on long-running but active AI tasks
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This reverts commit dae6322.
This reverts commit 0b0e664.
Add a new "接入其他平台" tab with MCP config snippets for Trae and Claude/Cursor, each with a copy button. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add mcp-workspace to electron-builder extraResources and desktop dependencies so it is bundled and available in production builds. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
v2.3.1 — 超时修复 / 工作区 MCP 修复 / 平台接入
Bug Fixes
修复对话 600 秒超时误触发 (@agentxjs/runtime)
原实现使用 timeout(600000) 绝对超时,等待 Subject 的第一个 next(),但 pendingRequest$ 从未调用
next(),导致任何超过 600 秒的对话必然触发超时错误,即使 AI 一直在正常输出。
修复方案:改为 timeout({ each: 600000 }) 空闲超时,同时在每次 stream_event 时调用
pendingRequest$.next() 重置计时器。现在只有 AI 超过 600 秒无任何输出才会触发超时。
修复工作区 MCP 生产环境缺失 (@promptx/mcp-workspace, @promptx/desktop)
两处根因:
@modelcontextprotocol/sdk,导致生产环境启动失败
修复:external → noExternal;补充 extraResources 和 package.json 依赖声明。
New Features
设置页新增「接入其他平台」Tab (@promptx/desktop)
在设置页「远程访问」右侧新增 Tab,提供将 PromptX 作为 MCP 服务接入其他 AI
工具的配置片段,点击即可复制:
Test Plan